package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author xuck
 * @Date 2020/3/09
 */
@Table(name = "IDR.TASK_EXECUTE_DETAIL")
public class TaskExecuteDetailEntity extends BaseEntity implements Serializable {

    @Id
    private String taskExecuteDetailId;

    private String taskExecuteId;

    private String taskNodeId;

    private Integer serialNo;

    private Date beginDatetime;

    private Date endDatetime;

    private String groupId;

    private String executePersonId;

    private String emrFileId;

    private String status;

    private String parentDetailId;

    private String qrCode;

    private String barCode;

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getTaskExecuteDetailId() {
        return taskExecuteDetailId;
    }

    public void setTaskExecuteDetailId(String taskExecuteDetailId) {
        this.taskExecuteDetailId = taskExecuteDetailId;
    }

    public String getTaskExecuteId() {
        return taskExecuteId;
    }

    public void setTaskExecuteId(String taskExecuteId) {
        this.taskExecuteId = taskExecuteId;
    }

    public String getTaskNodeId() {
        return taskNodeId;
    }

    public void setTaskNodeId(String taskNodeId) {
        this.taskNodeId = taskNodeId;
    }

    public Date getBeginDatetime() {
        return beginDatetime;
    }

    public void setBeginDatetime(Date beginDatetime) {
        this.beginDatetime = beginDatetime;
    }

    public Date getEndDatetime() {
        return endDatetime;
    }

    public void setEndDatetime(Date endDatetime) {
        this.endDatetime = endDatetime;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getExecutePersonId() {
        return executePersonId;
    }

    public void setExecutePersonId(String executePersonId) {
        this.executePersonId = executePersonId;
    }

    public String getEmrFileId() {
        return emrFileId;
    }

    public void setEmrFileId(String emrFileId) {
        this.emrFileId = emrFileId;
    }

    public Integer getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(Integer serialNo) {
        this.serialNo = serialNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getParentDetailId() {
        return parentDetailId;
    }

    public void setParentDetailId(String parentDetailId) {
        this.parentDetailId = parentDetailId;
    }

    @Override
    public String toString() {
        return "TaskExecuteDetailEntity{" +
                "taskExecuteDetailId='" + taskExecuteDetailId + '\'' +
                ", taskExecuteId='" + taskExecuteId + '\'' +
                ", taskNodeId='" + taskNodeId + '\'' +
                ", serialNo=" + serialNo +
                ", beginDatetime=" + beginDatetime +
                ", endDatetime=" + endDatetime +
                ", groupId='" + groupId + '\'' +
                ", executePersonId='" + executePersonId + '\'' +
                ", emrFileId='" + emrFileId + '\'' +
                ", status='" + status + '\'' +
                ", parentDetailId='" + parentDetailId + '\'' +
                ", qrCode='" + qrCode + '\'' +
                ", barCode='" + barCode + '\'' +
                '}';
    }
}
